﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>发送后转向</title>
    <link href="../../../Scripts/easyUI145/themes/color.css" rel="stylesheet" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../../Scripts/bootstrap/js/jquery.min.js"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <!-- 引用通用的js文件. -->
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="../../Admin.js"></script>
    <script src="DDLBar.js"></script>
    <script src="../../CCFlowEnum.js"></script>
    <script type="text/javascript" language="javascript">
        //页面启动函数.
        $(function () {

            $("#Msg").html("正在加载,请稍后......");
            
            $("#Msg").html("");
        });

        function Save() {
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Node", nodeID);
            node.TurnToDeal = TurntoWay.TurntoUrl;
            node.TurnToDealDoc = $("#TB_SpecURL").val();
            node.Update();
            alert("保存完毕");
            window.location.href = window.location.href;
        }
    </script>
</head>
<body>
    <div id="bar">

    </div>
    <form id="cc">
        <!--<div id="bar" class="cs-tr cs-bar">
        <label style="float:left;font-size:15px;font-weight:bolder;padding-top:10px;">发送后转向</label>
        <input type="button" ID="Btn_Save" runat="server" value="保存" onclick="Btn_Save_Click()" />
    </div>-->
        <fieldset>
            <legend>
                <label for="RB_TurnToDeal_2"> 转向指定的URL </label>- <a href="javascript:ShowHidden('SpecUrl')">帮助:</a>
            </legend>
            <br />
            <div id="SpecUrl" style="display: none">
                <ul style="color: Gray">
                    <li>按照您定义的url转向，可处理较为复杂的业务逻辑处理。</li>
                    <li>比如：URL为MyFlow.htm页面或www.baidu.com。 </li>
                    <li>该URL支持ccbpm参数形式，具体传值参考右侧帮助。 </li>
                    <li>启动子流程实例: /WF/MyFlow.htm?FK_Flow=003&PFlowNo=002 </li>
                </ul>
            </div>
            <input type="text" ID="TB_SpecURL" name="TB_SpecURL" runat="server" style="width:90%" />
        </fieldset>

    </form>

</body>
</html>
